package com.cj.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 添加nginx控制
 */
@RestController
public class NginxController {

    @GetMapping("/api/index")
    public String index(){
        return "Hello nginx Api.";
    }
}
